package cn.myschool.exer;

public class Crate {
    private String battery;
    private MainBoard board;
    public void assemble(){
        System.out.println("电池"+battery);
        this.board.assemble();
    }

    public void setBattery(String battery) {
        this.battery = battery;
    }

    public void setBoard(MainBoard board) {
        this.board = board;
    }
}
